#include <core/init.h>
#include <arch/s3c24xx.h>
#include <core/irq.h>
#include <core/io.h>


static int S3cKeyIsr(void *pDev)
{
	printf("%s()\n", __FUNCTION__);
	return 0;
}


static __INIT__ int S3cKeyInit(void)
{
	int ret;


	DRIVER_INFO("%s().\n", __FUNCTION__);

	ret = RegisterIsr(IRQ_EINT0, S3cKeyIsr, NULL);

	writel(2, VA(0x56000050)); // GPIO_BASE + GPF_CON
	writel(2, VA(0x56000088)); 

	return ret;
}


DRIVER_INIT(S3cKeyInit);


